import request from '@/utils/request'

// mock模拟分页
export const tablePage = (params: Object) => {
  return request({
    url: '/api/user/page',
    method: 'get',
    params
  })
}

export const tableList = (params: any) => {
  return request({
    url: '/api/user/list',
    method: 'get',
    params
  })
}

export const tableDelete = (params: any) => {
  return request({
    url: '/api/user/delete',
    method: 'post',
    params
  })
}
